# This is a sample Python script.

# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
import unittest

from demo import Calc_Test


def print_hi(name):
    # Use a breakpoint in the code line below to debug your script.
    print(f'Hi, {name}')  # Press Ctrl+F8 to toggle the breakpoint.


# Press the green button in the gutter to run the script.
if __name__ == '__main__':
    # 创建一个测试套件
    suite = unittest.TestSuite()
    # 错误提示：alt+enter
    suite.addTest(Calc_Test("test2"))
    suite.addTest(Calc_Test("test1"))

    # textrunner，用来运行测试套件
    runner = unittest.TextTestRunner(verbosity=1)
    runner.run(suite)

# See PyCharm help at https://www.jetbrains.com/help/pycharm/
